#include <iostream>
#include <string>

using namespace std;

/*
int val = 80;
const int & ptr = val;

常引用 只限制 引用自身

不能修改引用

*/

int main(int argc, char const *argv[])
{
    
    const int val = 80;
    const int & ptr = val;
    // ptr = 90;
    // val = 90;
    cout << "val = " << val << endl;
    cout << "ptr = " << ptr << endl;
    
    return 0;
}
